package Threads;

public class ThreadDemo4 {
    public static void main(String[] args) {
        Thread t1 = Thread.currentThread();
        System.out.println("main"+t1);
        dosome();
    }

    private static void dosome() {
        Thread t2 = Thread.currentThread();
        System.out.println("t2"+t2);
    }
}
